package com.project.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.project.bean.DrugBean;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * @author RJ
 * @date 2022/9/15 15:35
 */
@Repository
public interface IDrugDao extends BaseMapper<DrugBean> {
    IPage<DrugBean> cutDrugByItem(Page<DrugBean> page, @Param("drugName") String drugName,
                                  @Param("drugControlType") String drugControlType, @Param("drugType")String drugType);
}
